package com.dlwx.parttimetalent.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/12/8.
 */

public class BannerBean {

    /**
     * code : 200
     * result : 获取成功
     * body : [{"ad_name":"百度推广","ad_link":"www.heigushop.com","ad_img":"http://192.168.0.166/god/public/uploads/admin//thumb/1511840048.png"},{"ad_name":"百度推广","ad_link":"www.heigushop.com","ad_img":"http://192.168.0.166/god/public/uploads/admin//thumb/1511840048.png"},{"ad_name":"百度推广","ad_link":"www.heigushop.com","ad_img":"http://192.168.0.166/god/public/uploads/admin//thumb/1511840048.png"}]
     */

    private int code;
    private String result;
    private List<BodyBean> body;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public List<BodyBean> getBody() {
        return body;
    }

    public void setBody(List<BodyBean> body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * ad_name : 百度推广
         * ad_link : www.heigushop.com
         * ad_img : http://192.168.0.166/god/public/uploads/admin//thumb/1511840048.png
         */

        private String ad_name;
        private String ad_link;
        private String ad_img;

        public String getAd_name() {
            return ad_name;
        }

        public void setAd_name(String ad_name) {
            this.ad_name = ad_name;
        }

        public String getAd_link() {
            return ad_link;
        }

        public void setAd_link(String ad_link) {
            this.ad_link = ad_link;
        }

        public String getAd_img() {
            return ad_img;
        }

        public void setAd_img(String ad_img) {
            this.ad_img = ad_img;
        }
    }
}
